#include <stdio.h>
int main(void)
{
	char line[256];
	int i = 0;
	printf("Please input one line:");
	do
	{
		scanf_s("%c", &line[i]);
	} while (line[i] != '\n'&& ++i);
	printf("The line's reverse order is:");
	for (i--; i >= 0; i--)
	{
		printf("%c", line[i]);
	}
	printf("\n");
	return 0;
}
